package com.heima.admin.service.impl;

import com.heima.admin.service.UserExamineService;
import com.heima.apis.user.UserClient;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.user.dtos.ExamineUserDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserExamineServiceImpl implements UserExamineService {

    @Autowired
    private UserClient userClient;

    @Override
    public ResponseResult list(ExamineUserDto dto) {
        return userClient.list(dto);
    }

    @Override
    public ResponseResult authFail(ExamineUserDto dto) {
        return userClient.authFail(dto);
    }

    @Override
    public ResponseResult authPass(ExamineUserDto dto) {
        return userClient.authPass(dto);
    }
}
